
// // 我的
const mine = () => import('@/views/mine/index');
const setup=()=>import('@/views/mine/setup/index');
const secure=()=>import ('@/views/mine/setup/secure');
const loginPassword=()=>import('@/views/mine/setup/loginPassword')
const payPassword=()=>import('@/views/mine/setup/payPassword')
const myTeam=()=>import('@/views/mine/myTeam')
const teamList = () => import('@/views/mine/teamList')

// 订单
const orderList=()=>import('@/views/mine/order/index')
const orderInfo=()=>import('@/views/mine/order/orderInfo')
const afterSales=()=>import('@/views/mine/order/afterSales')
const returnOrRefund =()=>import('@/views/mine/returnOrRefund')
const consumptionRecord=()=>import('@/views/mine/consumptionRecord')
const refundInfo=()=>import('@/views/mine/order/components/refundInfo')
const logistics=()=>import('@/views/mine/order/components/logistics')
// 收益中心
const profitCore=()=>import('@/views/mine/profitCore/index')
const subsidy=()=>import('@/views/mine/profitCore/subsidy')
const balanceDetail=()=>import('@/views/mine/profitCore/balanceDetail')
const mySoftware=()=>import('@/views/mine/profitCore/mySoftware')
const withdrawal=()=>import('@/views/mine/profitCore/withdrawal')
const withdrawalRecord=()=>import('@/views/mine/profitCore/withdrawalRecord')
const repurchase=()=>import('@/views/mine/profitCore/repurchase')
const bindAccount=()=>import('@/views/mine/profitCore/bindAccount')
const extension=()=>import('@/views/mine/profitCore/extension')
const level=()=>import('@/views/mine/profitCore/level')
const applyAgent=()=>import('@/views/mine/profitCore/applyAgent')
const myAgent=()=>import('@/views/mine/profitCore/myAgent')
const levelCashier=()=>import('@/views/mine/profitCore/levelCashier')
// 商家入驻
const merchantList=()=>import('@/views/mine/merchantSettle/list')
const merchantSettle=()=>import('@/views/mine/merchantSettle/index')
const merchantSettleDetail=()=>import('@/views/mine/merchantSettle/detail')
const merchantEdit=()=>import('@/views/mine/merchantSettle/merchantEdit')
const payDetail=()=>import('@/views/mine/merchantSettle/payDetail')
const merchantSubsidy=()=>import('@/views/mine/merchantSettle/merchantSubsidy')
const balance=()=>import('@/views/mine/merchantSettle/balance')
const merchantGoods=()=>import('@/views/mine/merchantSettle/goods/index')
const allOrder=()=>import('@/views/mine/merchantSettle/goods/allOrder')
const release=()=>import('@/views/mine/merchantSettle/goods/release')
const merchantSku=()=>import('@/views/mine/merchantSettle/goods/sku')
const addOrEditSku=()=>import('@/views/mine/merchantSettle/goods/addOrEditSku')
// 线上审核结果
const findAudit=()=>import('@/views/mine/merchantSettle/findAudit')
const examineNotify= ()=>import('@/views/mine/merchantSettle/examineNotify')
// 线下
const shopSettle=()=>import('@/views/mine/shopSettle/index')
const storeAuth=()=>import ('@/views/mine/shopSettle/storeAuth')
const authSuccess=()=>import('@/views/mine/shopSettle/authSuccess')
const examineProgress=()=>import('@/views/mine/shopSettle/examineProgress')
// 邀请好友
const inviteFriend=()=>import('@/views/mine/inviteFriend')
const invite=()=>import('@/views/mine/invite')

// 门店列表
const shopSettleList = () =>import('@/views/mine/shopSettle/list');
const shopSettleDetail = () => import('@/views/mine/shopSettle/detail');
// 扫码支付订单
const shopSettlePayOrder = () => import('@/views/mine/shopSettle/payOrder');
const shopSettleOnlinePay = () => import('@/views/mine/shopSettle/onlinePay');

// 

// 排队记录
const shopSettleSubsidyList = () => import('@/views/mine/shopSettle/subsidyList');

// 店铺编辑
const shopSettleShopEdit = () => import('@/views/mine/shopSettle/shopEdit');

// 转账
const transferAccount=()=>import('@/views/mine/profitCore/transferAccount')
const accountItem=()=>import('@/views/mine/profitCore/account')
const transferRecord=()=>import('@/views/mine/profitCore/transferRecord')

// 我的私域
const myPrivate=()=>import('@/views/mine/myPrivate')

// 收款播报
const shopSettleVoiceDevice=()=>import('@/views/mine/shopSettle/shopSettleVoiceDevice')
const device=()=>import('@/views/mine/shopSettle/device')
const payCodeList=()=>import('@/views/mine/shopSettle/payCodeList')
const payDevice=()=>import('@/views/mine/shopSettle/payDevice')
// 联盟商家
const unionBusiness=()=>import('@/views/mine/profitCore/unionBusiness')

// 数据统计
const profitCoreStatistics=()=>import('@/views/mine/profitCore/statistics')

// 现金消费券
const consumption=()=>import('@/views/mine/consumption')
const coupon=()=>import('@/views/home/components/coupon')

// 消费金
const  consumptionGold=()=>import('@/views/mine/consumptionGold')

//扫码
const scanCode=()=>import('@/components/qrcode')

//红包
const redEnvelope=()=>import('@/views/mine/redEnvelope');
const redEnvelopeDetail=()=>import('@/views/mine/redEnvelopeDetail');
export default [
    {
        path: '/invite',
        meta: {
            title: '邀请好友'
        },
        name: 'invite',
        component: invite
    },
    {
        path: '/mine',
        meta: {
            title: '我的',
            keepAlive: true
        },
        name: 'mine',
        component: mine
    },
    {
        path: '/setup',
        meta: {
            title: '设置'
        },
        name: 'setup',
        component: setup
    },
    {
        path: '/secure',
        meta: {
            title: '安全检测'
        },
        name: 'secure',
        component: secure

    },
    {
        path: '/loginPassword',
        meta: {
            title: '修改登录密码'
        },
        name: 'loginPassword',
        component: loginPassword
    },
    {
        path: '/payPassword',
        meta: {
            title: '修改支付密码'
        },
        name: 'payPassword',
        component: payPassword
    },
    {
        path: '/orderList',
        meta: {
            title: '我的订单',
            // keepAlive: true
        },
        name: 'orderList',
        component: orderList
    },
    {
        path: '/orderInfo',
        meta: {
            title: '订单详情'
        },
        name: 'orderInfo',
        component: orderInfo
    },
    {
        path: '/refundInfo',
        meta: {
            title: '订单详情'
        },
        name: 'refundInfo',
        component: refundInfo
    },
    {
        path: '/logistics',
        meta: {
            title: '物流信息'
        },
        name: 'logistics',
        component: logistics
    },
    {
        path: '/afterSales',
        meta: {
            title: '申请退货'
        },
        name: 'afterSales',
        component: afterSales
    },
    {
        path: '/returnOrRefund',
        meta: {
            title: '退货/退款'
        },
        name: 'returnOrRefund',
        component: returnOrRefund
    },
    {
        path: '/consumptionRecord',
        meta: {
            title: '消费记录'
        },
        name: 'consumptionRecord',
        component: consumptionRecord
    },
    {
        path:'/profitCore',
        meta: {
            title: '收益中心'
        },
        name: 'profitCore',
        component: profitCore
    },
    {
        path:'/withdrawal',
        meta:{
            title:"提现"
        },
        name:'withdrawal',
        component:withdrawal
    },
    {
        path:'/withdrawalRecord',
        meta:{
            title:"提现记录"
        },
        name:'withdrawalRecord',
        component:withdrawalRecord
    },{
        path:'/bindAccount',
        meta:{
            title:"绑定"
        },
        name:'bindAccount',
        component:bindAccount
    },
    {
        path:'/level',
        meta:{
            title:"我的级别"
        },
        name:'level',
        component:level
    },
    {
        path:'/applyAgent',
        meta:{
            title:"申请区域代理"
        },
        name:'applyAgent',
        component:applyAgent
    },
    {
        path:'/myAgent',
        meta:{
            title:"我的代理"
        },
        name:'myAgent',
        component:myAgent
    },
    {
        path:'/levelCashier',
        meta:{
            title:"收银台"
        },
        name:'levelCashier',
        component:levelCashier
    },
    {
        path:'/subsidy',
        meta: {
            title: '补贴明细'
        },
        name: 'subsidy',
        component: subsidy
    },{
        path:'/balanceDetail',
        meta: {
            title: '余额明细'
        },
        name: 'balanceDetail',
        component: balanceDetail
    },{
        path:'/mySoftware',
        meta: {
            title: '我的软件'
        },
        name: 'mySoftware',
        component: mySoftware
    },{
        path:'/repurchase',
        meta: {
            title: '软件复购'
        },
        name: 'repurchase',
        component: repurchase
    },{
        path:'/extension',
        meta: {
            title: '商家推广'
        },
        name: 'extension',
        component: extension
    },{
        path:'/myTeam',
        meta: {
            title: '我的团队'
        },
        name: 'myTeam',
        component: myTeam
    },
	{
		path:'/teamList',
		meta: {
		    title: '团队粉丝'
		},
		name: 'teamList',
		component: teamList
	},
    {
        path:'/merchantList',
        meta: {
            title: '审核进度'
        },
        name: 'merchantList',
        component: merchantList
    },
    {
        path:'/merchantSettleDetail',
        meta: {
            title: '商家详情'
        },
        name: 'merchantSettleDetail',
        component: merchantSettleDetail
    },
    {
        path:'/merchantEdit',
        meta: {
            title: '商家管理'
        },
        name: 'merchantEdit',
        component: merchantEdit
    },
    {
        path:'/payDetail',
        meta: {
            title: '商家结算'
        },
        name: 'payDetail',
        component: payDetail
    },
    {
        path:'/merchantSubsidy',
        meta: {
            title: '排队管理'
        },
        name: 'merchantSubsidy',
        component: merchantSubsidy
    },
    {
        path:'/balance',
        meta: {
            title: '余额明细'
        },
        name: 'balance',
        component: balance
    },
    {
        path:'/merchantGoods',
        meta: {
            title: '商品管理'
        },
        name: 'merchantGoods',
        component: merchantGoods
    },
    {
        path:'/allOrder',
        meta: {
            title: '全部订单'
        },
        name: 'allOrder',
        component: allOrder
    },
    {
        path:'/release',
        meta: {
            title: '发布商品'
        },
        name: 'release',
        component: release
    },
    {
        path:'/merchantSku',
        meta: {
            title: '规格'
        },
        name: 'merchantSku',
        component: merchantSku
    },
    {
        path:'/addOrEditSku',
        meta: {
            title: '规格'
        },
        name: 'addOrEditSku',
        component: addOrEditSku
    },
    {
        path:'/merchantSettleOnlinePay',
        meta: {
            title: '在线买单订单'
        },
        name: 'merchantSettleOnlinePay',
    },
	{
        path:'/merchantSettle',
        meta: {
            title: '线上商家入驻'
        },
        name: 'merchantSettle',
        component: merchantSettle
    },{
        path:'/findAudit',
        meta: {
            title: '线下店铺申请'
        },
        name: 'findAudit',
        component: findAudit
    },{
        path:'/examineNotify',
        meta:{
            title:"审核通知"
        },
        name:'examineNotify',
        component:examineNotify
    },{
        path:'/inviteFriend',
        meta: {
            title: '邀请好友'
        },
        name: 'inviteFriend',
        component: inviteFriend
    },
	{
		path:'/shopSettleList',
		meta: {
		    title: '审核进度'
		},
		name: 'shopSettleList',
		component: shopSettleList
	},
	{
		path:'/shopSettleDetail',
		meta: {
		    title: '门店详情'
		},
		name: 'shopSettleDetail',
		component: shopSettleDetail
	},
	{
		path:'/shopSettlePayOrder',
		meta: {
		    title: '扫码支付订单'
		},
		name: 'shopSettlePayOrder',
		component: shopSettlePayOrder
	},
	{
		path:'/shopSettleOnlinePay',
		meta: {
		    title: '在线买单订单'
		},
		name: 'shopSettleOnlinePay',
		component: shopSettleOnlinePay
	},
	{
		path:'/shopSettleSubsidyList',
		meta: {
		    title: '排队管理'
		},
		name: 'shopSettleSubsidyList',
		component: shopSettleSubsidyList
	},
	{
		path:'/shopSettleShopEdit',
		meta: {
		    title: '店铺管理'
		},
		name: 'shopSettleShopEdit',
		component: shopSettleShopEdit
	},
	{
        path:'/shopSettle',
        meta: {
            title: '线下店铺入驻'
        },
        name: 'shopSettle',
        component: shopSettle
    },{
        path:'/storeAuth',
        meta: {
            title: '线下店铺入驻'
        },
        name: 'storeAuth',
        component: storeAuth
    },{
        path:'/authSuccess',
        meta: {
            title: '线下店铺入驻'
        },
        name: 'authSuccess',
        component: authSuccess
    },{
        path:'/examineProgress',
        meta: {
            title: '审核进度'
        },
        name: 'examineProgress',
        component: examineProgress
    },{
        path:'/transferAccount',
        meta: {
            title: '转账'
        },
        name: 'transferAccount',
        component: transferAccount
    },
    {
        path:'/accountItem',
        meta: {
            title: '转账'
        },
        name: 'accountItem',
        component: accountItem
    },
    {
        path:'/transferRecord',
        meta: {
            title: '转账记录'
        },
        name: 'transferRecord',
        component: transferRecord

    },
    {
        path:'/myPrivate',
        meta: {
            title: '我的私域'
        },
        name: 'myPrivate',
        component: myPrivate

    },
    {
        path:'/shopSettleVoiceDevice',
        meta: {
            title: '收款播报设置'
        },
        name: 'shopSettleVoiceDevice',
        component: shopSettleVoiceDevice
    },
    {
        path:'/payCodeList',
        meta: {
            title: '线下收款码绑定'
        },
        name: 'payCodeList',
        component: payCodeList
    },
    {
        path:'/payDevice',
        meta: {
            title: '二维码'
        },
        name: 'payDevice',
        component: payDevice
    },
    {
        path:'/device',
        meta: {
            title: '添加设备'
        },
        name: 'device',
        component: device
    },
    {
        path:'/unionBusiness',
        meta: {
            title: '联盟商家'
        },
        name: 'unionBusiness',
        component: unionBusiness
    },
    {
        path:'/profitCoreStatistics',
        meta: {
            title: '数据统计'
        },
        name: 'profitCoreStatistics',
        component: profitCoreStatistics
    },
    {
        path:'/consumption',
        meta: {
            title: '现金消费券'
        },
        name: 'consumption',
        component: consumption
    },
    {
        path:'/coupon',
        meta: {
            title: '现金消费券'
        },
        name: 'coupon',
        component: coupon
    },
    {
        path:'/scanCode',
        meta: {
            title: '扫码'
        },
        name: 'scanCode',
        component: scanCode
    },
    {
        path:'/consumptionGold',
        meta: {
            title: '消费金'
        },
        name: 'consumptionGold',
        component: consumptionGold
    },
    {
        path:'/redEnvelope',
        meta: {
            title: '红包'
        },
        name: 'redEnvelope',
        component: redEnvelope
    },
    {
        path:'/redEnvelopeDetail',
        meta: {
            title: '红包详情'
        },
        name: 'redEnvelopeDetail',
        component: redEnvelopeDetail
    },
]